package com.xinou.daily_report.controller;


import cn.hutool.core.bean.copier.CopyOptions;
import com.xinou.common.base.config.ApiResponse;
import com.xinou.common.util.BeanUtil;
import com.xinou.daily_report.PO.TestPO;
import com.xinou.daily_report.VO.TestVO;
import com.xinou.daily_report.utils.DailyShiroUtil;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import static com.xinou.common.util.BeanUtil.beanA2beanB;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author ${author}
 * @since 2021-06-11
 */
@RestController
@RequestMapping("/test")
@RequiredArgsConstructor(onConstructor = @__(@Autowired))
@Api(tags = {"测试"})
public class TestController {

    @PostMapping("/test")
    @ApiOperation("测试")
    public Object weekResultList(){
        return DailyShiroUtil.isAssistant();
    }

}

